<!DOCTYPE html>
<html>
  <head>
    <title>登录页面 - Kunter</title>
    <#include "/commons/common_js_top.html" />
    <!-- inline styles related to this page -->
    <#include "/commons/common_js_bottom.html" />
    <!-- inline scripts related to this page -->
    <script type="text/javascript">
      function show_box(id) {
        jQuery('.widget-box.visible').removeClass('visible');
        jQuery('#'+id).addClass('visible');
      }
    </script>
  </head>
  <body class="login-layout">
    <div class="main-container">
      <div class="main-content">
        <div class="row">
          <div class="col-sm-10 col-sm-offset-1">
            <div class="login-container">
              <div class="center">
                <h1>
                  <a href="/" style="text-decoration: none;">
                    <img src="resources/images/logo.png" style="width: 32px; height: 32px;" alt="Kunter.cn">
                    <span class="red">Kunter</span>
                    <span class="white">Application</span>
                  </a>
                </h1>
              </div>
              <div class="space-6"></div>
              <div class="position-relative">
                <div id="login-box" class="login-box visible widget-box no-border">
                  <div class="widget-body">
                    <div class="widget-main">
                      <h4 class="header blue lighter bigger"><i class="ace-icon fa fa-coffee green"></i> 帐号登录</h4>
                      <div class="space-6"></div>
                      <form action="login" method="post">
                        <fieldset>
                          <label class="block clearfix">
                            <span class="block input-icon input-icon-right">
                              <input type="text" name="username" class="form-control" placeholder="账号" />
                              <i class="ace-icon fa fa-user"></i>
                            </span>
                          </label>
                          <label class="block clearfix">
                            <span class="block input-icon input-icon-right">
                              <input type="password" name="password" class="form-control" placeholder="密码" />
                              <i class="ace-icon fa fa-lock"></i>
                            </span>
                          </label>
                          <div class="space"></div>
                          <div class="clearfix">
                            <label class="inline">
                              <input type="checkbox" name="check" class="ace" value="1"/><span class="lbl smaller-50"> 记住密码</span>
                            </label>
                            <button type="submit" class="width-35 pull-right btn btn-sm btn-primary">
                             <i class="ace-icon fa fa-key"></i>
                             <span class="bigger-110">登 录</span>
                            </button>
                          </div>
                          <div class="space-4"></div>
                        </fieldset>
                      </form>
                      <div class="social-or-login center"><span class="smaller-90">第三方帐号登录</span></div>
                      <div class="space-6"></div>
                      <div class="social-login center">
                        <a class="btn btn-primary"><i class="ace-icon fa fa-facebook"></i></a>
                        <a class="btn btn-info"><i class="ace-icon fa fa-twitter"></i></a>
                        <a class="btn btn-danger"><i class="ace-icon fa fa-google-plus"></i></a>
                      </div>
                    </div><!-- /widget-main -->
                    <div class="toolbar clearfix">
                      <div>
                        <a href="javascript:void(0);" onclick="show_box('forgot-box'); return false;" class="forgot-password-link">
                          <i class="ace-icon fa fa-arrow-left"></i> 忘记密码
                        </a>
                      </div>
                      <div>
                        <a href="javascript:void(0);" onclick="show_box('signup-box'); return false;" class="user-signup-link">马上注册
                          <i class="ace-icon fa fa-arrow-right"></i>
                        </a>
                      </div>
                    </div>
                  </div><!-- /widget-body -->
                </div><!-- /login-box -->
                <div id="forgot-box" class="forgot-box widget-box no-border">
                  <div class="widget-body">
                    <div class="widget-main">
                      <h4 class="header red lighter bigger"><i class="ace-icon fa fa-key"></i> 找回密码</h4>
                      <div class="space-6"></div>
                      <p> 请输入您的Email接收验证信息 </p>
                      <form>
                        <fieldset>
                          <label class="block clearfix">
                            <span class="block input-icon input-icon-right">
                              <input type="email" class="form-control" placeholder="Email" />
                              <i class="ace-icon fa fa-envelope"></i>
                            </span>
                          </label>
                          <div class="clearfix">
                            <button type="button" class="width-35 pull-right btn btn-sm btn-danger">
                              <i class="ace-icon fa fa-lightbulb-o"></i>
                              <span class="bigger-110">发 送</span>
                            </button>
                          </div>
                        </fieldset>
                      </form>
                    </div><!-- /widget-main -->
                    <div class="toolbar center">
                      <a href="javascript:void(0);" onclick="show_box('login-box'); return false;" class="back-to-login-link">返回登录
                        <i class="ace-icon fa fa-arrow-right"></i>
                      </a>
                    </div>
                  </div><!-- /widget-body -->
                </div><!-- /forgot-box -->
                <div id="signup-box" class="signup-box widget-box no-border">
                  <div class="widget-body">
                    <div class="widget-main">
                      <h4 class="header green lighter bigger"><i class="ace-icon fa fa-users blue"></i> 注册账号</h4>
                      <div class="space-6"></div>
                      <p> 请输入您的信息: </p>
                      <form>
                        <fieldset>
                          <label class="block clearfix">
                            <span class="block input-icon input-icon-right">
                              <input type="email" class="form-control" placeholder="Email" />
                              <i class="ace-icon fa fa-envelope"></i>
                            </span>
                          </label>
                          <label class="block clearfix">
                            <span class="block input-icon input-icon-right">
                              <input type="text" class="form-control" placeholder="账号" />
                              <i class="ace-icon fa fa-user"></i>
                            </span>
                          </label>
                          <label class="block clearfix">
                            <span class="block input-icon input-icon-right">
                              <input type="password" class="form-control" placeholder="密码" />
                              <i class="ace-icon fa fa-lock"></i>
                            </span>
                          </label>
                          <label class="block clearfix">
                            <span class="block input-icon input-icon-right">
                              <input type="password" class="form-control" placeholder="确认密码" />
                              <i class="ace-icon fa fa-retweet"></i>
                            </span>
                          </label>
                          <label class="block">
                            <input type="checkbox" class="ace" />
                            <span class="lbl smaller-90"> 我已阅读并接受<a href="#">用户协议</a></span>
                          </label>
                          <div class="space-6"></div>
                          <div class="clearfix">
                            <button type="reset" class="width-30 pull-left btn btn-sm">
                              <i class="ace-icon fa fa-refresh"></i>
                              <span class="bigger-110">重 置</span>
                            </button>
                            <button type="button" class="width-65 pull-right btn btn-sm btn-success">
                              <span class="bigger-110">注 册</span>
                              <i class="ace-icon fa fa-arrow-right icon-on-right"></i>
                            </button>
                          </div>
                        </fieldset>
                      </form>
                    </div>
                    <div class="toolbar center">
                      <a href="javascript:void(0);" onclick="show_box('login-box'); return false;" class="back-to-login-link">
                        <i class="ace-icon fa fa-arrow-left"></i> 返回登录
                      </a>
                    </div>
                  </div><!-- /widget-body -->
                </div><!-- /signup-box -->
              </div><!-- /position-relative -->
            </div>
          </div><!-- /.col -->
          <div class="center" style="width:99.5%; position:absolute; bottom: 0;">
            <h5 class="blue center">Copyright &copy; 2015 <a href="http://www.kunter.cn/" style="text-decoration:none;">Kunter.cn</a> - All Rights Reserved <a href="http://www.miitbeian.gov.cn/" target="_blank" style="text-decoration:none;">粤ICP备15051695号</a></h5>
          </div>
        </div><!-- /.row -->
      </div><!-- /.main-content -->
    </div><!-- /.main-container -->
  </body>
</html>